package org.jeecg.modules.vegetable.service.impl;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.vegetable.entity.VegetableTypes;
import org.jeecg.modules.vegetable.mapper.VegetableTypesMapper;
import org.jeecg.modules.vegetable.service.IVegetableTypesService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.HashMap;

/**
 * @Description: vegetable_types
 * @Author: jeecg-boot
 * @Date:   2022-01-18
 * @Version: V1.0
 */
@Service
public class VegetableTypesServiceImpl extends ServiceImpl<VegetableTypesMapper, VegetableTypes> implements IVegetableTypesService {

    @Resource
    private VegetableTypesMapper vegetableTypesMapper;
    @Override
    public HashMap<String, String>  getVegetableInfo(String vegetableId) {
        return vegetableTypesMapper.getVegetableInfo(vegetableId);
    }
}
